package com.sj.proxy;

import java.util.Random;

public class Tank implements IMoveable {

    public void move() {
//        long start = System.currentTimeMillis();
        System.out.println("Tank Moving...");
        try {
            Thread.sleep(new Random().nextInt(10000));
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
//        long end = System.currentTimeMillis();
//        System.out.println("time: " + (end - start));
    }
}
